#include "SimpleCursor.h"
#include "MyVertex.h"

namespace CAD_CAM
{
	SimpleCursor::SimpleCursor(void): Primitive(8, 24), c(0.05)
	{
		range = 0.05f;
		build();
	}


	SimpleCursor::~SimpleCursor(void)
	{
	}

	void SimpleCursor::DrawShader(QGLShaderProgram& shaderProgram, QMatrix4x4& viewMatrix, QMatrix4x4& projectionMatrix)
	{
		QMatrix4x4 modelMatrix;
		modelMatrix.translate(translation);
		modelMatrix = viewMatrix * modelMatrix;
		c.DrawShader(shaderProgram, modelMatrix, projectionMatrix);
	}

	void SimpleCursor::build()
	{
	}
}